<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="IResourceManager,mx.resources.IResourceManager,localeChain,addResourceBundle,findResourceBundleWithResource,getBoolean,getBundleNamesForLocale,getClass,getInt,getLocales,getNumber,getObject,getResourceBundle,getString,getStringArray,getUint,installCompiledResourceBundles,loadResourceModule,removeResourceBundle,removeResourceBundlesForLocale,unloadResourceModule,update" name="keywords">
<title>mx.resources.IResourceManager</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'IResourceManager - Zentrum virtUOS: virtPresenter';
				var baseRef = '../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">virtPresenter AsDoc</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../index.html?mx/resources/IResourceManager.html&amp;mx/resources/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Interface&nbsp;IResourceManager</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Interface IResourceManager"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">mx.resources</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface IResourceManager extends <a href="none">flash.events.IEventDispatcher</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Implementors</td><td><a href="../resources/ResourceManager.html">ResourceManager</a></td>
</tr>
</table>
<p></p>
  The APIs of the IResourceManager interface 
  provide localization support for Flex applications.
   <p>There are three main concepts involved in localization:
  locales, resources, and resource bundles.</p>
   <p>A locale specifies a language and a country
  for which your application has been localized.
  For example, the locale <code>"en_US"</code>
  specifies English as spoken in the United States.
  (See the mx.resources.Locale class for more information.)</p>
   <p>A resource is a named value that is locale-dependent.
  For example, your application might have a resource
  whose name is <code>"OPEN"</code>
  and whose value for an English locale is <code>"Open"</code>
  but whose value for a French locale is <code>"Ouvrir"</code>.</p>
   <p>A resource bundle is a named group of resources
  whose values have been localized for a particular locale.
  A resource bundle is identified by the combination of its
  <code>bundleName</code> and its <code>locale</code>,
  and has a <code>content</code> object that contains
  the name-value pairs for the bundle's resources.
  See the documentation for mx.resources.IResourceBundle
  for information about how you typically create resource
  bundles from properties files.</p>
   <p>A single ResourceManager object implementing the IResourceManager
  interface manages multiple resource bundles, possibly for multiple
  locales, and provides access to the resources that they contain.
  For example, you can retrieve a specific resource as a String by calling
  <code>resourceManager.getString(bundleName, resourceName)</code>.</p>
   <p>All classes that extend UIComponent, Formatter, or Validator
  have a <code>resourceManager</code> property
  that provides a reference to the object implementing this interface.
  Other classes can call <code>ResourceManager.getInstance()</code>
  to obtain this object.</p>
   <p>Resource retrieval methods such as <code>getString()</code>
  search for resources in the locales specified
  by the <code>localeChain</code> property.
  By changing this property, you can make your application
  suddenly use, for example, Japanese rather than English resources.</p>
   <p>When your application starts, the ResourceManager is automatically
  populated with whatever resource bundles were compiled
  into the application.
  If you create a code module, by default the resources that its classes
  need are compiled into the module.
  When the module is loaded into an application, any bundles that the
  application does not already have are added to the ResourceManager.</p>
   <p>You can compile "resource modules" which have only resources in them,
  and load them with the <code>loadResourceModule()</code> method
  of IResourceManager.
  With resource modules, you can support multiple locales by loading
  the resources you need at run time rather than compiling them into
  your application.</p>
   <p>Although the ResourceManager is normally populated with resource bundles
  that were compiled into your application or loaded from modules,
  you can also programmatically create resource bundles and add them
  to the ResourceManager yourself with the <code>addResourceBundle()</code>
  method.</p>
   <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../resources/ResourceManager.html" target="">mx.resources.ResourceManager</a>
<br>
<a href="../resources/IResourceBundle.html" target="">mx.resources.IResourceBundle</a>
<br>
<a href="../resources/ResourceBundle.html" target="">mx.resources.ResourceBundle</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#localeChain">localeChain</a> : Array<div class="summaryTableDescription">
      An Array of locale Strings, such as <code>[ "en_US" ]</code>,
      which specifies one or more locales to be searched for resources.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addResourceBundle()">addResourceBundle</a>(resourceBundle:<a href="IResourceBundle.html">IResourceBundle</a>):void</div>
<div class="summaryTableDescription">
      Adds the specified ResourceBundle to the ResourceManager
      so that its resources can be accessed by ResourceManager
      methods such as <code>getString()</code>.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#findResourceBundleWithResource()">findResourceBundleWithResource</a>(bundleName:String, resourceName:String):<a href="../resources/IResourceBundle.html">IResourceBundle</a>
</div>
<div class="summaryTableDescription">
      Searches the locales in the <code>localeChain</code>
      for the specified resource and returns
      the first resource bundle in which it is found.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getBoolean()">getBoolean</a>(bundleName:String, resourceName:String, locale:String = null):Boolean</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as a Boolean.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getBundleNamesForLocale()">getBundleNamesForLocale</a>(locale:String):Array</div>
<div class="summaryTableDescription">
      Returns an Array of Strings specifying the bundle names
      for all ResourceBundle objects that exist in the ResourceManager
      and that belong to the specified locale.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getClass()">getClass</a>(bundleName:String, resourceName:String, locale:String = null):Class</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as a Class.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getInt()">getInt</a>(bundleName:String, resourceName:String, locale:String = null):int</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as an int.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getLocales()">getLocales</a>():Array</div>
<div class="summaryTableDescription">
      Returns an Array of Strings specifying all locales for which
      ResourceBundle objects exist in the ResourceManager.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getNumber()">getNumber</a>(bundleName:String, resourceName:String, locale:String = null):Number</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as a Number.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getObject()">getObject</a>(bundleName:String, resourceName:String, locale:String = null):*</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as an Object.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getResourceBundle()">getResourceBundle</a>(locale:String, bundleName:String):<a href="../resources/IResourceBundle.html">IResourceBundle</a>
</div>
<div class="summaryTableDescription">
      Returns a ResourceBundle with the specified <code>locale</code>
      and <code>bundleName</code> that has been previously added
      to the ResourceManager with <code>addResourceBundle()</code>.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getString()">getString</a>(bundleName:String, resourceName:String, parameters:Array = null, locale:String = null):String</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as a String,
      after substituting specified values for placeholders.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getStringArray()">getStringArray</a>(bundleName:String, resourceName:String, locale:String = null):Array</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as an Array of Strings.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getUint()">getUint</a>(bundleName:String, resourceName:String, locale:String = null):uint</div>
<div class="summaryTableDescription">
      Gets the value of a specified resource as a uint.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#installCompiledResourceBundles()">installCompiledResourceBundles</a>(applicationDomain:ApplicationDomain, locales:Array, bundleNames:Array):void</div>
<div class="summaryTableDescription">
      Used by modules loaders only.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#loadResourceModule()">loadResourceModule</a>(url:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null):IEventDispatcher</div>
<div class="summaryTableDescription">
      Begins loading a resource module containing resource bundles.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeResourceBundle()">removeResourceBundle</a>(locale:String, bundleName:String):void</div>
<div class="summaryTableDescription">
      Removes the specified ResourceBundle from the ResourceManager
      so that its resources can no longer be accessed by ResourceManager
      methods such as <code>getString()</code>.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeResourceBundlesForLocale()">removeResourceBundlesForLocale</a>(locale:String):void</div>
<div class="summaryTableDescription">
      Removes all ResourceBundles for the specified locale
      from the ResourceManager so that their resources
      can no longer be accessed by ResourceManager methods
      such as <code>getString()</code>.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#unloadResourceModule()">unloadResourceModule</a>(url:String, update:Boolean = true):void</div>
<div class="summaryTableDescription">
      This method has not yet been implemented.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#update()">update</a>():void</div>
<div class="summaryTableDescription">
      Dispatches a <code>change</code> event from the
      ResourceManager.</div>
</td><td class="summaryTableOwnerCol">IResourceManager</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="localeChain"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">localeChain</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>localeChain:Array</code>&nbsp;&nbsp;[read-write]<p>
      An Array of locale Strings, such as <code>[ "en_US" ]</code>,
      which specifies one or more locales to be searched for resources.
      
      </p><p>When you call the ResourceManager methods <code>getObject()</code>,
      <code>getString()</code>, <code>getStringArray()</code>,
      <code>getNumber()</code>, <code>getInt()</code>,
      <code>getUint()</code>, <code>getBoolean()</code>, or
      <code>getClass()</code> to get the value of a resource,
      you specify a bundle name and a resource name,
      but not a locale.
      The ResourceManager starts with the first locale in the
      <code>localeChain</code> and looks for a ResourceBundle
      with the specified bundle name for that locale.
      If such a ResourceBundle exists, and the specified resource
      exists in it, then the value of that resource is returned.
      Otherwise, the ResourceManager proceeds on to the other
      locales in the <code>localeChain</code>.</p>
           <p>This scheme makes it possible to have locales that do not
      necessarily contain a complete set of localized resources.
      For example, if you are localizing your application for
      Indian English rather than U.S. English, you need only
      supply resources for the <code>en_IN</code> locale in which the
      Indian spelling or usage differs from that in the U.S.,
      and then set the <code>localeChain</code> property
      to <code>[ "en_IN", "en_US" ]</code>.</p>
           <p>Many framework classes assume that they can always
      obtain, from some locale, the resources that they expect,
      and they will throw errors if they cannot do so.
      Therefore, you must ensure that the <code>localeChain</code>
      always contains a complete set of resources.
      Unless you have done a complete localization of all the
      framework's resources as well as your own application's
      resources, you can keep the <code>"en_US"</code> locale
      at the end of your <code>localeChain</code> to ensure this.</p>
           <p>Setting this property causes the ResourceManager to dispatch
      a <code>"change"</code> Event.</p>
     <span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get localeChain():Array</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set localeChain(value:Array):void</code>
<br>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="addResourceBundle()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addResourceBundle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function addResourceBundle(resourceBundle:<a href="IResourceBundle.html">IResourceBundle</a>):void</code><p>
      Adds the specified ResourceBundle to the ResourceManager
      so that its resources can be accessed by ResourceManager
      methods such as <code>getString()</code>.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">resourceBundle</span>:<a href="IResourceBundle.html">IResourceBundle</a></code> &mdash; The resource bundle to be added.
     </td>
</tr>
</table>
</div>
<a name="findResourceBundleWithResource()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">findResourceBundleWithResource</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function findResourceBundleWithResource(bundleName:String, resourceName:String):<a href="../resources/IResourceBundle.html">IResourceBundle</a></code><p>
      Searches the locales in the <code>localeChain</code>
      for the specified resource and returns
      the first resource bundle in which it is found.
      If the resource isn't found, this method returns <code>null</code>.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; A bundle name such as <code>"MyResources"</code>.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../resources/IResourceBundle.html">IResourceBundle</a></code> &mdash; 
                        The first ResourceBundle in the <code>localeChain</code>
      that contains the specified resource, or <code>null</code>.
     
                        
                     </td>
</tr>
</table>
</div>
<a name="getBoolean()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getBoolean</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getBoolean(bundleName:String, resourceName:String, locale:String = null):Boolean</code><p>
      Gets the value of a specified resource as a Boolean.
           </p><p>This method first calls <code>getString()</code>
      and converts the result to lowercase.
      It then returns <code>true</code>
      if the result was <code>"true"</code>.
      and <code>false</code> otherwise.</p>
           <p>If the specified resource is not found,
      this method returns <code>false</code>.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; The resource value, as a Boolean,
      or <code>false</code> if it is not found.
     </td>
</tr>
</table>
</div>
<a name="getBundleNamesForLocale()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getBundleNamesForLocale</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getBundleNamesForLocale(locale:String):Array</code><p>
      Returns an Array of Strings specifying the bundle names
      for all ResourceBundle objects that exist in the ResourceManager
      and that belong to the specified locale.
           </p><p>The order of bundle names in this Array is not specified.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> &mdash; A locale string such as <code>"en_US"</code>.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; An Array of bundle names.
           </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../resources/IResourceBundle.html" target="">mx.resources.IResourceBundle</a>
</div>
</div>
<a name="getClass()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getClass</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getClass(bundleName:String, resourceName:String, locale:String = null):Class</code><p>
      Gets the value of a specified resource as a Class.
           </p><p>This method calls <code>getObject()</code>
      and coerces it to type Class using the <code>as</code> operator.
      The result will be <code>null</code> if the resource value
      was not a class reference.
      It is useful if you have written a lines such as</p>
           <pre>
      IMAGE=Embed("image.jpg")
      BUTTON_SKIN=ClassReference("skins.ButtonSkin_en_US")
      </pre>
           <p>in a properties file and want to obtain
      the Class that the <code>Embed()</code>
      or <code>ClassReference()</code> directive produced.</p> 
           <p>If the specified resource is not found,
      this method returns <code>null</code>.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Class</code> &mdash; The resource value, as a <code>Class</code>,
      or <code>null</code> if it is not found.
     </td>
</tr>
</table>
</div>
<a name="getInt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getInt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getInt(bundleName:String, resourceName:String, locale:String = null):int</code><p>
      Gets the value of a specified resource as an int.
           </p><p>This method calls <code>getObject()</code>
      and casts the result to an int.
      It is useful if you have written a line such as:</p>
           <pre>
      MINIMUM=5
      </pre>
           <p>in a properties file and want to obtain the value
      5 rather than <code>"5"</code>.</p> 
           <p>If the specified resource is not found,
      this method returns 0.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>int</code> &mdash; The resource value, as an int,
      or 0 if it is not found.
     </td>
</tr>
</table>
</div>
<a name="getLocales()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getLocales</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getLocales():Array</code><p>
      Returns an Array of Strings specifying all locales for which
      ResourceBundle objects exist in the ResourceManager.
           </p><p>The order of locales in this array is not specified.</p>
           <p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; An Array of locale Strings.
     </td>
</tr>
</table>
</div>
<a name="getNumber()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getNumber</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getNumber(bundleName:String, resourceName:String, locale:String = null):Number</code><p>
      Gets the value of a specified resource as a Number.
           </p><p>This method calls <code>getObject()</code>
      and casts the result to a Number.
      It is useful if you have written a line such as:</p>
           <pre>
      LONGITUDE=170.3
      </pre>
           <p>in a properties file and want to obtain the value
      170.3 rather than <code>"170.3"</code>.</p> 
           <p>If the specified resource is not found,
      this method returns <code>NaN</code>.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Number</code> &mdash; The resource value, as a Number,
      or <code>NaN</code> if it is not found.
     </td>
</tr>
</table>
</div>
<a name="getObject()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getObject</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getObject(bundleName:String, resourceName:String, locale:String = null):*</code><p>
      Gets the value of a specified resource as an Object.
           </p><p>The value is returned exactly as it is stored
      in the <code>content</code> Object of the ResourceBundle,
      with no conversion.
      If the resource was compiled from a properties files,
      the resource value in the <code>content</code> Object 
      is always a String unless you used the <code>Embed()</code>
      or <code>ClassReference()</code> directive, in which case
      it is a Class.
      Use the <code>getString()</code>, <code>getStringArray()</code>, 
      <code>getNumber()</code>, <code>getInt()</code>
      <code>getUint()</code>, <code>getBoolean()</code>, and
      <code>getClass()</code> methods to convert the value
      to more specific types.</p>
           <p>If the specified resource is not found,
      this method returns <code>undefined</code>.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>*</code> &mdash; The resource value, exactly as it is stored
      in the <code>content</code> Object,
      or <code>undefined</code> if the resource is not found.
     </td>
</tr>
</table>
</div>
<a name="getResourceBundle()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getResourceBundle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getResourceBundle(locale:String, bundleName:String):<a href="../resources/IResourceBundle.html">IResourceBundle</a></code><p>
      Returns a ResourceBundle with the specified <code>locale</code>
      and <code>bundleName</code> that has been previously added
      to the ResourceManager with <code>addResourceBundle()</code>.
      If no such ResourceBundle exists, this method returns <code>null</code>.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> &mdash; A locale string such as <code>"en_US"</code>.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; A bundle name such as <code>"MyResources"</code>.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../resources/IResourceBundle.html">IResourceBundle</a></code> &mdash; 
                        The ResourceBundle with the specified <code>locale</code>
      and <code>bundleName</code> if one exists; otherwise <code>null</code>.
           
                        
                     </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../resources/IResourceBundle.html" target="">mx.resources.IResourceBundle</a>
</div>
</div>
<a name="getString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getString(bundleName:String, resourceName:String, parameters:Array = null, locale:String = null):String</code><p>
      Gets the value of a specified resource as a String,
      after substituting specified values for placeholders.
           </p><p>This method calls <code>getObject()</code>
      and then casts the result to a String.</p>
           <p>If a <code>parameters</code> Array is passed to this method,
      the parameters in it are converted to Strings
      and then substituted, in order, for the placeholders
      <code>"{0}"</code>, <code>"{1}"</code>, and so on, in the String
      before it is returned.</p>
           <p>If the specified resource is not found,
      this method returns <code>null</code>.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">parameters</span>:Array</code> (default = <code>null</code>)<code></code> &mdash; An Array of parameters that are
      substituted for the placeholders.
      Each parameter is converted to a String with the <code>toString()</code> method
      before being substituted.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; The resource value, as a String,
      or <code>null</code> if it is not found.
     </td>
</tr>
</table>
</div>
<a name="getStringArray()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getStringArray</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getStringArray(bundleName:String, resourceName:String, locale:String = null):Array</code><p>
      Gets the value of a specified resource as an Array of Strings.
           </p><p>This method assumes that the resource value is a String
      containing a comma-separated list of items.
      It calls the <code>getString()</code> method, splits the String
      into items at the commas, and trims white space
      before and after each item.
      It is useful if you have written a line such as:</p>
           <pre>
      COUNTRIES=India, China, Japan
      </pre>
           <p>in a properties file and you want to obtain the value
      <code>[ "India", "China", "Japan" ]</code>
      rather than the value <code>"India, China, Japan"</code>.</p> 
           <p>If the specified resource is not found,
      this method returns <code>null</code>.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; The resource value, as an Array of Strings,
      or <code>null</code> if it is not found.
     </td>
</tr>
</table>
</div>
<a name="getUint()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getUint</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getUint(bundleName:String, resourceName:String, locale:String = null):uint</code><p>
      Gets the value of a specified resource as a uint.
           </p><p>This method calls the <code>getObject()</code> method
      and casts the result to a uint.
      It is useful if you have written a line such as:</p>
           <pre>
      MINIMUM=5
      </pre>
           <p>in a properties file and want to obtain the value
      5 rather than <code>"5"</code>.</p> 
           <p>If the specified resource is not found,
      this method returns 0.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; The name of a resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">resourceName</span>:String</code> &mdash; The name of a resource in the resource bundle.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; A specific locale to be used for the lookup,
      or <code>null</code> to search all locales
      in the <code>localeChain</code>.
      This parameter is optional and defaults to <code>null</code>;
      you should seldom need to specify it.
           </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>uint</code> &mdash; The resource value, as a uint,
      or 0 if it is not found.
     </td>
</tr>
</table>
</div>
<a name="installCompiledResourceBundles()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">installCompiledResourceBundles</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function installCompiledResourceBundles(applicationDomain:ApplicationDomain, locales:Array, bundleNames:Array):void</code><p>
      Used by modules loaders only.
     </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">applicationDomain</span>:ApplicationDomain</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">locales</span>:Array</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">bundleNames</span>:Array</code></td>
</tr>
</table>
</div>
<a name="loadResourceModule()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">loadResourceModule</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function loadResourceModule(url:String, update:Boolean = true, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null):IEventDispatcher</code><p>
      Begins loading a resource module containing resource bundles.
           </p><p>Each call to this method returns a new event-dispatching object
      that you can use to learn how the loading is progressing
      and whether it completes successfully or results in an error.
      This object dispatches <code>ResourceEvent.PROGRESS</code>,
      <code>ResourceEvent.COMPLETE</code>, and
      <code>ResourceEvent.ERROR</code> events.</p>
           <p>When the module has been loaded, the resource bundles
      are added to the ResourceManager, but the <code>localeChain</code>
      is left unchanged.
      If the <code>update</code> parameter is <code>true</code>,
      the <code>update()</code> method will be called.</p>
           <span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; The URL from which to load the resource module.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">update</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Whether to call
      the <code>update()</code> method when the module finishes loading.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">applicationDomain</span>:ApplicationDomain</code> (default = <code>null</code>)<code></code> &mdash; The ApplicationDomain passed to the
      <code>load()</code> method of the IModuleInfo class
      that loads the resource module.
      This parameter is optional and defaults to <code>null</code>.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">securityDomain</span>:SecurityDomain</code> (default = <code>null</code>)<code></code> &mdash; The SecurityDomain passed to the
      <code>load()</code> method of the IModuleInfo class 
      that loads the resource module.
      This parameter is optional and defaults to <code>null</code>.
     
      </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>IEventDispatcher</code> &mdash; An object that is associated with this particular load operation
      that dispatches <code>ResourceEvent.PROGRESS</code>,
      <code>ResourceEvent.COMPLETE</code>, and
      <code>ResourceEvent.ERROR</code> events.
           </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../events/ResourceEvent.html" target="">mx.events.ResourceEvent</a>
<br>
<a href="../resources/IResourceManager.html#update()" target="">mx.resources.IResourceManager.update()</a>
</div>
</div>
<a name="removeResourceBundle()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeResourceBundle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeResourceBundle(locale:String, bundleName:String):void</code><p>
      Removes the specified ResourceBundle from the ResourceManager
      so that its resources can no longer be accessed by ResourceManager
      methods such as <code>getString()</code>.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> &mdash; A locale string such as <code>"en_US"</code>.
           </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">bundleName</span>:String</code> &mdash; A bundle name such as <code>"MyResources"</code>.
           </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../resources/IResourceBundle.html" target="">mx.resources.IResourceBundle</a>
</div>
</div>
<a name="removeResourceBundlesForLocale()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeResourceBundlesForLocale</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeResourceBundlesForLocale(locale:String):void</code><p>
      Removes all ResourceBundles for the specified locale
      from the ResourceManager so that their resources
      can no longer be accessed by ResourceManager methods
      such as <code>getString()</code>.
           </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">locale</span>:String</code> &mdash; A locale string such as <code>"en_US"</code>.
           </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../resources/IResourceBundle.html" target="">mx.resources.IResourceBundle</a>
</div>
</div>
<a name="unloadResourceModule()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">unloadResourceModule</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function unloadResourceModule(url:String, update:Boolean = true):void</code><p>
      This method has not yet been implemented.
     </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">update</span>:Boolean</code> (default = <code>true</code>)<code></code></td>
</tr>
</table>
</div>
<a name="update()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">update</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function update():void</code><p>
      Dispatches a <code>change</code> event from the
      ResourceManager.
           </p><p>This causes binding expressions to re-evaluate
      if they involve the ResourceManager methods
      <code>getObject()</code>, <code>getString()</code>, 
      <code>getStringArray()</code>, <code>getNumber()</code>, 
      <code>getInt()</code>, <code>getUint()</code>, 
      <code>getBoolean()</code>, or <code>getClass()</code>.</p>
           <p>This also causes the <code>resourcesChanged()</code> method
      of a UIComponent, Formatter, or Validator to execute.
      Many components implement this method to update
      their state based on the latest resources.</p>
     </div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
